package org.zhou.service;

import org.zhou.pojo.Administrator;
import org.zhou.pojo.PageResult;
import org.zhou.pojo.Readers;

public interface AdminService {


    Administrator login(String username);

    void updateInfo(Administrator admin);

    void updatePwd(String newPwd);

    PageResult readerList(Integer pageNum, Integer pageSize, String name, Integer state, String phone, String readerId);

    void addReader(Readers readers);

    void updateReader(Readers readers);

    void addAdmin(String username, String password);

    void updateStatus(Integer status,String username);
}
